<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>My App</title>
    <link rel="stylesheet" href="../../packages/core/css/framework7.min.css">
    <link rel="stylesheet" href="../../css/framework7-icons.css">
  </head>
  <body>
    <div id="app"></div>
    <template id="app-template">
      <f7-app>
        <f7-view main>
          <f7-page>
            <f7-navbar title="Floating Action Button"></f7-navbar>
      
            <!-- Toolbar FAB Morph Target -->
            <f7-toolbar bottom-md class="fab-morph-target">
              <f7-link>Link 1</f7-link>
              <f7-link>Link 2</f7-link>
              <f7-link>Link 3</f7-link>
            </f7-toolbar>
      
            <!-- FAB Left Top (Yellow) -->
            <f7-fab position="left-top" slot="fixed" color="yellow">
              <f7-icon ios="f7:add" md="material:add"></f7-icon>
              <f7-icon ios="f7:close" md="material:close"></f7-icon>
              <f7-fab-buttons position="bottom">
                <f7-fab-button>1</f7-fab-button>
                <f7-fab-button>2</f7-fab-button>
                <f7-fab-button>3</f7-fab-button>
              </f7-fab-buttons>
            </f7-fab>
      
            <!-- FAB Right Top (Pink) -->
            <f7-fab position="right-top" slot="fixed" color="pink">
              <f7-icon ios="f7:add" md="material:add"></f7-icon>
              <f7-icon ios="f7:close" md="material:close"></f7-icon>
              <f7-fab-buttons position="left">
                <f7-fab-button>1</f7-fab-button>
                <f7-fab-button>2</f7-fab-button>
                <f7-fab-button>3</f7-fab-button>
              </f7-fab-buttons>
            </f7-fab>
      
            <!-- FAB Center (Green) -->
            <f7-fab position="center-center" slot="fixed" color="green">
              <f7-icon ios="f7:add" md="material:add"></f7-icon>
              <f7-icon ios="f7:close" md="material:close"></f7-icon>
              <f7-fab-buttons position="center">
                <f7-fab-button>1</f7-fab-button>
                <f7-fab-button>2</f7-fab-button>
                <f7-fab-button>3</f7-fab-button>
                <f7-fab-button>4</f7-fab-button>
              </f7-fab-buttons>
            </f7-fab>
      
            <!-- FAB Left Bottom (Blue) -->
            <!-- Will morph to Toolbar -->
            <f7-fab position="left-bottom" slot="fixed" morph-to=".toolbar.fab-morph-target">
              <f7-icon ios="f7:add" md="material:add"></f7-icon>
              <f7-icon ios="f7:close" md="material:close"></f7-icon>
            </f7-fab>
      
            <!-- FAB Right Bottom (Orange) -->
            <f7-fab position="right-bottom" slot="fixed" color="orange">
              <f7-icon ios="f7:add" md="material:add"></f7-icon>
              <f7-icon ios="f7:close" md="material:close"></f7-icon>
              <f7-fab-buttons position="top">
                <f7-fab-button label="Action 1">1</f7-fab-button>
                <f7-fab-button label="Action 2">2</f7-fab-button>
              </f7-fab-buttons>
            </f7-fab>
      
            <!-- Extended FAB Center Bottom (Red) -->
            <f7-fab position="center-bottom" slot="fixed" text="Create" color="red">
              <f7-icon ios="f7:add" md="material:add"></f7-icon>
            </f7-fab>
      
            <f7-block>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quia, quo rem beatae, delectus eligendi est saepe molestias perferendis suscipit, commodi labore ipsa non quasi eum magnam neque ducimus! Quasi, numquam.</p>
              <p>Maiores culpa, itaque! Eaque natus ab cum ipsam numquam blanditiis a, quia, molestiae aut laudantium recusandae ipsa. Ad iste ex asperiores ipsa, mollitia perferendis consectetur quam eaque, voluptate laboriosam unde.</p>
              <p>Sed odit quis aperiam temporibus vitae necessitatibus, laboriosam, exercitationem dolores odio sapiente provident. Accusantium id, itaque aliquam libero ipsum eos fugiat distinctio laboriosam exercitationem sequi facere quas quidem magnam reprehenderit.</p>
              <p>Pariatur corporis illo, amet doloremque. Ab veritatis sunt nisi consectetur error modi, nam illo et nostrum quia aliquam ipsam vitae facere voluptates atque similique odit mollitia, rerum placeat nobis est.</p>
              <p>Et impedit soluta minus a autem adipisci cupiditate eius dignissimos nihil officia dolore voluptatibus aperiam reprehenderit esse facilis labore qui, officiis consectetur. Ipsa obcaecati aspernatur odio assumenda veniam, ipsum alias.</p>
            </f7-block>
            <f7-block>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Culpa ipsa debitis sed nihil eaque dolore cum iste quibusdam, accusamus doloribus, tempora quia quos voluptatibus corporis officia at quas dolorem earum!</p>
              <p>Quod soluta eos inventore magnam suscipit enim at hic in maiores temporibus pariatur tempora minima blanditiis vero autem est perspiciatis totam dolorum, itaque repellat? Nobis necessitatibus aut odit aliquam adipisci.</p>
              <p>Tenetur delectus perspiciatis ex numquam, unde corrupti velit! Quam aperiam, animi fuga veritatis consectetur, voluptatibus atque consequuntur dignissimos itaque, sint impedit cum cumque at. Adipisci sint, iusto blanditiis ullam? Vel?</p>
              <p>Dignissimos velit officia quibusdam! Eveniet beatae, aut, omnis temporibus consequatur expedita eaque aliquid quos accusamus fugiat id iusto autem obcaecati repellat fugit cupiditate suscipit natus quas doloribus? Temporibus necessitatibus, libero.</p>
              <p>Architecto quisquam ipsa fugit facere, repudiandae asperiores vitae obcaecati possimus, labore excepturi reprehenderit consectetur perferendis, ullam quidem hic, repellat fugiat eaque fuga. Consectetur in eveniet, deleniti recusandae omnis eum quas?</p>
              <p>Quos nulla consequatur quo, officia quaerat. Nulla voluptatum, assumenda quibusdam, placeat cum aut illo deleniti dolores commodi odio ipsam, recusandae est pariatur veniam repudiandae blanditiis. Voluptas unde deleniti quisquam, nobis?</p>
              <p>Atque qui quaerat quasi officia molestiae, molestias totam incidunt reprehenderit laboriosam facilis veritatis, non iusto! Dolore ipsam obcaecati voluptates minima maxime minus qui mollitia facere. Nostrum esse recusandae voluptatibus eligendi.</p>
            </f7-block>
          </f7-page>
        </f7-view>
      </f7-app>
      
      
    </template>
    <script>var component = {}</script>
    <script src="../../packages/vue/vue.min.js"></script>
    <script src="../../packages/vue/framework7-vue.min.js"></script>
    <script src="../../packages/core/js/framework7.min.js"></script>
    <script>
      var theme = 'ios';
      if (location.href.indexOf('theme=md') >= 0) theme = 'md';
      
      if (Framework7.use) Framework7.use(Framework7Vue, { theme: theme });
      else if (Framework7.Class && Framework7.Class.use) Framework7.Class.use(Framework7Vue, { theme: theme });
      
      var plugin = {
        params: {
          theme: theme,
        }
      };
      
      if (Framework7.use) Framework7.use(plugin);
      else if (Framework7.Class && Framework7.Class.use) Framework7.Class.use(plugin);
      
      if (typeof component === 'undefined') {
        var component = {};
      }
      if (typeof routes === 'undefined') {
        var routes = [];
      }
      component.el = '#app';
      component.template = '#app-template';
      
      new Vue(component);
    </script>
  </body>
</html>